import Layout from '@/views/layout/Layout'

const dealRouter = {
  path: '/deal',
  component: Layout,
  name: 'Deal',
  meta: {
    title: '交易',
    icon: 'theme'
  },
  children: [{
    path: 'userindent',
    name: 'Userindent',
    component: () =>
      import('@/views/deal/userindent'),
    meta: {
      title: '用户订单'
    }
  },
  {
    path: 'refund',
    name: 'Refund',
    component: () =>
      import('@/views/deal/refund'),
    meta: {
      title: '退款管理'
    }
  },
  // {
  //   path: 'networkbill',
  //   name: 'Networkbill',
  //   component: () =>
  //     import('@/views/deal/networkbill'),
  //   meta: {
  //     title: '网校账单'
  //   }
  // },
  // {
  //   path: 'virtualcoin',
  //   name: 'Virtualcoin',
  //   component: () =>
  //     import('@/views/deal/virtualcoin'),
  //   meta: {
  //     title: '虚拟币管理'
  //   }
  // },
  {
    path: 'invoice',
    name: 'Invoice',
    component: () =>
      import('@/views/deal/invoice'),
    meta: {
      title: '发票管理'
    }
  }
  ]
}
export default dealRouter
